POV-Ray : Newsgroups : povray.beta-test : Increased memory use in 3.5 : Re: Increased memory use in 3.5 Server Time
30 Jul 2024 20:19:39 EDT (-0400)
  Re: Increased memory use in 3.5  
From: Warp
Date: 2 Oct 2001 18:18:49
Message: <3bba3d49@news.povray.org>
I don't know what is the exact answer, but let me throw a wild guess:

  The structs containing object information have grown, ie. they have more
items inside them. Some new features require some extra data in objects and
other similar items.
  This of course means that each object takes more memory and this can be
seen when creating lots of them.

  If this is the reason, the only solution I can think of is to try to look
if the object structs could be optimized for size (eg. use 'union' instead
of 'struct' wherever possible, merge two variables into one if possible, and
so on).

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.